import React, { Component } from 'react'
import Tab from './../../components/common/TabVertical'
import Content from './../../components/common/Content'
import Page from './../../components/common/Page'
import './Publish.css'

export default class Publish extends Component {
  onTab() {

  }
  getCurrentPage() {

  }
  render() {
    return (
      <div className="company-publish">
        <Tab tabs={['内部刊物', '外部刊物']} onTab={index => this.onTab(index)} />
        <div className="publish_content">
          <Content />
          <Page 
            pageConfig={{totalPage: 10}}
            pageCallbackFn={() => this.getCurrentPage()}
          />
        </div>
      </div>
    )
  }
}
